package com.cskaoyan.catmall.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 创建日期: 2022-01-10-17-18
 * author : WQW
 * description: 获取用户优惠卷时，返回对象信息
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class WxCouponMyListVo {
    private Long total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListDTO> list;

    @NoArgsConstructor
    @Data
    public static class ListDTO {
        private Integer id;
        private Integer cid;
        private String name;
        private String desc;
        private String tag;
        private Integer min;
        private Integer discount;
        private String startTime;
        private String endTime;
        private Boolean available;
    }
}
